package com.java.main.domain;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

/**
 * @author sunyang
 */
@NoRepositoryBean
public interface BaseRepository<T, ID extends Serializable> extends JpaRepository<T, ID>, JpaSpecificationExecutor<T> {

	// List<T> findAll(Specification<T> spec, int offset, int maxResults, Sort
	// sort);

	// List<T> findAll(Specification<T> spec, int offset, int maxResults);

}
